package com.example.campuspass;

import com.example.campuspass.entity.Student;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class CampusPassApplication {

	public static void main(String[] args) {
		SpringApplication.run(CampusPassApplication.class, args);
		Student[] students = new Student[10];
		students[0] = new Student("20230001", "张三", "软件工程", "12345678901", java.time.LocalDate.of(2000, 1, 1));
		students[1] = new Student("20230002", "李四", "软件工程", "12345678902", java.time.LocalDate.of(2000, 1, 2));
		students[2] = new Student("20230003", "王五", "软件工程", "12345678903", java.time.LocalDate.of(2000, 1, 3));
		students[3] = new Student("20230004", "赵六", "软件工程", "12345678904", java.time.LocalDate.of(2000, 1, 4));
		students[4] = new Student("20230005", "孙七", "软件工程", "12345678905", java.time.LocalDate.of(2000, 1, 5));
		students[5] = new Student("20230006", "周八", "软件工程", "12345678906", java.time.LocalDate.of(2000, 1, 6));
		students[6] = new Student("20230007", "吴九", "软件工程", "12345678907", java.time.LocalDate.of(2000, 1, 7));
		students[7] = new Student("20230008", "郑十", "软件工程", "12345678908", java.time.LocalDate.of(2000, 1, 8));
		students[8] = new Student("20230009", "王十一", "软件工程", "12345678909", java.time.LocalDate.of(2000, 1, 9));
		students[9] = new Student("20230010", "王十二", "软件工程", "12345678910", java.time.LocalDate.of(2000, 1, 10));
		for (int i = 0; i < students.length; i++){
			System.out.println(students[i].toString());
		}
    }

}
